Description: Implement global lock through QVS. Syntax: Qlock(n,s) Note: When Qlock() function is executed in a script, qvs, global lock